package com.letoy.edu.service.Impl;

import com.letoy.edu.dao.FieldMapper;
import com.letoy.edu.entity.Field;
import com.letoy.edu.service.FieldService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FieldServiceImpl implements FieldService {
    @Resource
    FieldMapper fieldMapper;

    @Override
    public List<Field> getAllFieldList() {
        return fieldMapper.getAllField();
    }
}
